<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DsSoChiTietBanHang" targetNamespace="http://tempuri.org/DsSoChiTietBanHang.xsd" xmlns:mstns="http://tempuri.org/DsSoChiTietBanHang.xsd" xmlns="http://tempuri.org/DsSoChiTietBanHang.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="Accounting3ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Accounting3ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ReportTemplates.Properties.Settings.GlobalReference.Default.Accounting3ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KhoanMucSoChiTietBanHangTableAdapter" GeneratorDataComponentClassName="KhoanMucSoChiTietBanHangTableAdapter" Name="KhoanMucSoChiTietBanHang" UserDataComponentName="KhoanMucSoChiTietBanHangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Accounting3ConnectionString (Settings)" DbObjectName="Accounting3.dbo.Select_KhoanMucSoChiTietBanHang" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_KhoanMucSoChiTietBanHang</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@NgayBatDau" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@NgayKetThuc" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VatTuHangHoaID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="NgayGhiSo" DataSetColumn="NgayGhiSo" />
              <Mapping SourceColumn="So" DataSetColumn="So" />
              <Mapping SourceColumn="NgayThang" DataSetColumn="NgayThang" />
              <Mapping SourceColumn="DienGiai" DataSetColumn="DienGiai" />
              <Mapping SourceColumn="TaiKhoanDoiUng" DataSetColumn="TaiKhoanDoiUng" />
              <Mapping SourceColumn="SoLuong" DataSetColumn="SoLuong" />
              <Mapping SourceColumn="DonGiaQD" DataSetColumn="DonGiaQD" />
              <Mapping SourceColumn="ThanhTienQD" DataSetColumn="ThanhTienQD" />
              <Mapping SourceColumn="GiaVon" DataSetColumn="GiaVon" />
              <Mapping SourceColumn="TienVatQD" DataSetColumn="TienVatQD" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ThongTinDoanhNghiepTableAdapter" GeneratorDataComponentClassName="ThongTinDoanhNghiepTableAdapter" Name="ThongTinDoanhNghiep" UserDataComponentName="ThongTinDoanhNghiepTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Accounting3ConnectionString (Settings)" DbObjectName="Accounting3.dbo.Select_ThongTinDoanhNghiep" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_ThongTinDoanhNghiep</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TenDoanhNghiep" DataSetColumn="TenDoanhNghiep" />
              <Mapping SourceColumn="DiaChi" DataSetColumn="DiaChi" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DsSoChiTietBanHang" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DsSoChiTietBanHang" msprop:Generator_DataSetName="DsSoChiTietBanHang">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="KhoanMucSoChiTietBanHang" msprop:Generator_UserTableName="KhoanMucSoChiTietBanHang" msprop:Generator_RowDeletedName="KhoanMucSoChiTietBanHangRowDeleted" msprop:Generator_RowChangedName="KhoanMucSoChiTietBanHangRowChanged" msprop:Generator_RowClassName="KhoanMucSoChiTietBanHangRow" msprop:Generator_RowChangingName="KhoanMucSoChiTietBanHangRowChanging" msprop:Generator_RowEvArgName="KhoanMucSoChiTietBanHangRowChangeEvent" msprop:Generator_RowEvHandlerName="KhoanMucSoChiTietBanHangRowChangeEventHandler" msprop:Generator_TableClassName="KhoanMucSoChiTietBanHangDataTable" msprop:Generator_TableVarName="tableKhoanMucSoChiTietBanHang" msprop:Generator_RowDeletingName="KhoanMucSoChiTietBanHangRowDeleting" msprop:Generator_TablePropName="KhoanMucSoChiTietBanHang">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="NgayGhiSo" msprop:Generator_UserColumnName="NgayGhiSo" msprop:Generator_ColumnPropNameInRow="NgayGhiSo" msprop:Generator_ColumnVarNameInTable="columnNgayGhiSo" msprop:Generator_ColumnPropNameInTable="NgayGhiSoColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="So" msprop:Generator_UserColumnName="So" msprop:Generator_ColumnPropNameInRow="So" msprop:Generator_ColumnVarNameInTable="columnSo" msprop:Generator_ColumnPropNameInTable="SoColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NgayThang" msprop:Generator_UserColumnName="NgayThang" msprop:Generator_ColumnPropNameInRow="NgayThang" msprop:Generator_ColumnVarNameInTable="columnNgayThang" msprop:Generator_ColumnPropNameInTable="NgayThangColumn" type="xs:dateTime" />
              <xs:element name="DienGiai" msprop:Generator_UserColumnName="DienGiai" msprop:Generator_ColumnPropNameInRow="DienGiai" msprop:Generator_ColumnVarNameInTable="columnDienGiai" msprop:Generator_ColumnPropNameInTable="DienGiaiColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TaiKhoanDoiUng" msprop:Generator_UserColumnName="TaiKhoanDoiUng" msprop:Generator_ColumnPropNameInRow="TaiKhoanDoiUng" msprop:Generator_ColumnVarNameInTable="columnTaiKhoanDoiUng" msprop:Generator_ColumnPropNameInTable="TaiKhoanDoiUngColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SoLuong" msprop:Generator_UserColumnName="SoLuong" msprop:Generator_ColumnPropNameInRow="SoLuong" msprop:Generator_ColumnVarNameInTable="columnSoLuong" msprop:Generator_ColumnPropNameInTable="SoLuongColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="DonGiaQD" msdata:ReadOnly="true" msprop:Generator_UserColumnName="DonGiaQD" msprop:Generator_ColumnPropNameInRow="DonGiaQD" msprop:Generator_ColumnVarNameInTable="columnDonGiaQD" msprop:Generator_ColumnPropNameInTable="DonGiaQDColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ThanhTienQD" msprop:Generator_UserColumnName="ThanhTienQD" msprop:Generator_ColumnPropNameInRow="ThanhTienQD" msprop:Generator_ColumnVarNameInTable="columnThanhTienQD" msprop:Generator_ColumnPropNameInTable="ThanhTienQDColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="GiaVon" msprop:Generator_UserColumnName="GiaVon" msprop:Generator_ColumnPropNameInRow="GiaVon" msprop:Generator_ColumnVarNameInTable="columnGiaVon" msprop:Generator_ColumnPropNameInTable="GiaVonColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="TienVatQD" msprop:Generator_UserColumnName="TienVatQD" msprop:Generator_ColumnPropNameInRow="TienVatQD" msprop:Generator_ColumnVarNameInTable="columnTienVatQD" msprop:Generator_ColumnPropNameInTable="TienVatQDColumn" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ThongTinDoanhNghiep" msprop:Generator_UserTableName="ThongTinDoanhNghiep" msprop:Generator_RowDeletedName="ThongTinDoanhNghiepRowDeleted" msprop:Generator_RowChangedName="ThongTinDoanhNghiepRowChanged" msprop:Generator_RowClassName="ThongTinDoanhNghiepRow" msprop:Generator_RowChangingName="ThongTinDoanhNghiepRowChanging" msprop:Generator_RowEvArgName="ThongTinDoanhNghiepRowChangeEvent" msprop:Generator_RowEvHandlerName="ThongTinDoanhNghiepRowChangeEventHandler" msprop:Generator_TableClassName="ThongTinDoanhNghiepDataTable" msprop:Generator_TableVarName="tableThongTinDoanhNghiep" msprop:Generator_RowDeletingName="ThongTinDoanhNghiepRowDeleting" msprop:Generator_TablePropName="ThongTinDoanhNghiep">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenDoanhNghiep" msprop:Generator_UserColumnName="TenDoanhNghiep" msprop:Generator_ColumnPropNameInRow="TenDoanhNghiep" msprop:Generator_ColumnVarNameInTable="columnTenDoanhNghiep" msprop:Generator_ColumnPropNameInTable="TenDoanhNghiepColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="40" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DiaChi" msprop:Generator_UserColumnName="DiaChi" msprop:Generator_ColumnPropNameInRow="DiaChi" msprop:Generator_ColumnVarNameInTable="columnDiaChi" msprop:Generator_ColumnPropNameInTable="DiaChiColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="40" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ChiTietSoChiTietBanHang" msprop:Generator_UserTableName="ChiTietSoChiTietBanHang" msprop:Generator_RowDeletedName="ChiTietSoChiTietBanHangRowDeleted" msprop:Generator_RowChangedName="ChiTietSoChiTietBanHangRowChanged" msprop:Generator_RowClassName="ChiTietSoChiTietBanHangRow" msprop:Generator_RowChangingName="ChiTietSoChiTietBanHangRowChanging" msprop:Generator_RowEvArgName="ChiTietSoChiTietBanHangRowChangeEvent" msprop:Generator_RowEvHandlerName="ChiTietSoChiTietBanHangRowChangeEventHandler" msprop:Generator_TableClassName="ChiTietSoChiTietBanHangDataTable" msprop:Generator_TableVarName="tableChiTietSoChiTietBanHang" msprop:Generator_RowDeletingName="ChiTietSoChiTietBanHangRowDeleting" msprop:Generator_TablePropName="ChiTietSoChiTietBanHang">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="KyBaoCao" msprop:Generator_UserColumnName="KyBaoCao" msprop:Generator_ColumnVarNameInTable="columnKyBaoCao" msprop:Generator_ColumnPropNameInRow="KyBaoCao" msprop:Generator_ColumnPropNameInTable="KyBaoCaoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TenVTHH" msprop:Generator_UserColumnName="TenVTHH" msprop:Generator_ColumnVarNameInTable="columnTenVTHH" msprop:Generator_ColumnPropNameInRow="TenVTHH" msprop:Generator_ColumnPropNameInTable="TenVTHHColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>